import { Module } from '@nestjs/common';
import { PrismaModule } from './prisma/prisma.module';
import { AuthModule } from './auth/auth.module';
import { JwtStrategy } from './auth/jwt.strategy';
import { ConfigService } from '@nestjs/config';
import { UserModule } from './user/user.module';
import { ProjModule } from './proj/proj.module';
import { ZoneModule } from './zone/zone.module';
import { TowerModule } from './tower/tower.module';
import { BetModule } from './bet/bet.module';
import { AcrossModule } from './across/across.module';
import { CalculateModule } from './calculate/calculate.module';
import { WireModule } from './wire/wire.module';
import { CalculatePowerModule } from './calculate-power/calculate-power.module';

@Module({
  imports: [
    PrismaModule,
    AuthModule,
    UserModule,
    ProjModule,
    ZoneModule,
    TowerModule,
    BetModule,
    AcrossModule,
    CalculateModule,
    WireModule,
    CalculatePowerModule,
  ],
  controllers: [],
  providers: [JwtStrategy, ConfigService],
})
export class AppModule {}
